{% extends "base.html" %}
{% block content %}
<div class="blog-header">

</div> <!--end blog-header -->
<div class="row">
    <div class="col-sm-8 blog-main">
        {% for blog in blog_list %}
            <div class="blog-post">
                <div class="blog-post-title"> <a href="/article/{{ blog.title_en }}/">{{ blog.title }}</a></div>
                <div class="blog-post-meta">
                    <p >
                        <span class="blog-post-meta-time">发布时间:{{ blog.create_time|date:"Y-m-d H:i" }}</span>
                        <span class="blog-post-meta-views">浏览次数:{{ blog.n_views }}</span>
                    </p>

                </div>
                <div class="blog-post-image">
                    <img src='/media/{{ blog.thumbnail_image }}' />
                </div>
                <div class="blog-post-summary">
                    <p class="blog-post-summary-text"> {{ blog.summary }}</p>
                    <a class="blog-post-summary-button" href="/article/{{ blog.title_en }}/">阅读更多</a>
                </div>

            </div>

        {% endfor %}


    </div>
    <div class="col-sm-8 col-sm-offset-1 blog-side"></div>
</div>
{% endblock %}